@import url("./lib/latin/css.css");
/* 选择根元素（HTML标签） */
:root {
    /* 自定义属性使得整个html文档能够访问 */
    --primary-color: #0891b2;
    --primary-color-dark: #0e7490;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --extra-light: #f3f4f6;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box; /* 设置填充和边框为 包含在宽度和高度中 */
}

body {
    font-family: 'Lato', sans-serif;
}

/* --------------.container start------------- */

.container {
    display: flex;
    min-height: 100vh;
    /*max-height: 90vh;*/
    /*min-height: 100svh;*/
}

@media all and (min-width: 750px){
    .container {
        /*padding: 0px 20px 0px 20px;*/
        /*margin: 1vh;*/
    }
}

/* --------------.container_left start------------- */

.container_left {
    display: flex;
    flex: 1.9;
    background-size: cover;
    background: url("./assert/login_bg2.jpg") no-repeat center center;
    position: relative;
    background-size: 150% 100%;
    /*padding-top: 40px;*/
    /*margin: 3% 0 3% 3%;*/
    /*border-left: solid black 1px;*/
}
/* container */
.container_left::before {
    content: "";
    position: absolute;
    height: 75%;
    width: 100%;
    left: 0;
    bottom: 0;
    /* 颜色过度 */
    background: linear-gradient(to top, #000000, #00000000);
}

.image_text {
    position: absolute;
    /*position: relative;*/
    top: 75%;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    gap: 1rem;
    width: 80%;
    max-width: 30rem;
    color: #ffffff;
}

.image_text h3 {
    font-size: 2rem;
    position: relative;     /* 使得后续伪元素的absolute相对于h3来说 */
}

.image_text h3::before {
    content: "";
    position: absolute; /* 相对于.image_text h3进行定位 */
    top: 50%;
    left: -4rem;
    height: 2px;
    width: 3rem;
    background-color: #ffffff;
}

.image_text p {
    font-size: 1rem;
}

@media all and (max-width: 750px) {
    .container_left {
        display: none;
    }
}

/* --------------.container_left end------------- */

/* --------------.container_right start------------- */

.container_right {
    flex: 1;
    min-width: 300px;
    /*min-height: 100vh;*/
    /*max-width: 500px;*/
    padding: 20px;
}
/* container_right的内容 */
.content {
    max-width: 450px;
    /* 设置padding为<html>的字体大小 */
    padding: 1rem;
    margin: auto;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-light);
    /* 垂直间距1rem */
    margin: 1rem 0;
}

.header .register {
    font-size: 1rem;
    font-weight: 700;
    /* 鼠标放到上面变成点击效果 */
    cursor: pointer;
}

.header .btn_back {
    font-size: 1.2rem;
    cursor: pointer;
}

.form_content {
    max-width: 350px;
    margin: 4rem auto 0;
}

.form_content .form_title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    /* 设置标题字体颜色 */
    color: var(--text-dark);
}

.form_content .form_subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    /* 设置副subtitle字体颜色 */
    color: var(--text-light);
}

.form_content form i {
    position: relative;
    font-size: 1.2rem;
    left: 0.3rem;
    top: 2rem;
}

.form_content input {
    /*padding-left: 20px;*/
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    /* 去除选中黑框 */
    outline: none;
    /* 去除自带的边框 */
    border: none;
    border-radius: 2px;
    padding: 0.75rem 0.75rem 0.75rem 2rem;
    font-size: 1rem;
    background-color: var(--extra-light);
}

.form_content input:-webkit-autofill {
    box-shadow: 0 0 0px 1000px #f8f8f8 inset !important;
}

.form_content .forgot_password, .not_register_yet {
    text-align: right;
    font-weight: 700;
    margin-bottom: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

a {
    text-decoration: none;
}

.not_register_yet {
    text-decoration: none;
    padding: 0 50px;
}

.form_content .btn_submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: #ffffff;
    outline: none;
    border: none;
    font-size: 1rem;
    border-radius: 5rem;
    cursor: pointer;
    /* 动画过度时间 */
    transition: .3s;
}

.form_content .btn_submit:hover {
    background-color: var(--primary-color-dark);
}

.form_content .bottom_line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--extra-light);
    margin: 2rem 0;
}

.form_content .footer_title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.form_content .social_icons {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 间隔 */
    gap: 1.5rem;
}

.social_icons i {
    font-size: 1.5rem;
    cursor: pointer;
}

.social_icons i:hover {
    color: var(--primary-color-dark);
}

.copyright {
    /*position: relative;*/
    /*bottom: 0;*/
    margin: 20px 0 0 0;
    text-align: center;
}

.copyright a {
    text-decoration: none;
    color: #000000;
}
/* --------------.container_right end------------- */
/* --------------.container end------------- */